package com.jxdinfo.hussar.example.scada.tunnel.messcadatunnelkilnrecord.dao;

import com.jxdinfo.hussar.support.mp.base.mapper.HussarMapper;
import org.springframework.stereotype.Repository;
import com.jxdinfo.hussar.example.scada.tunnel.messcadatunnelkilnrecord.model.MesScadaTunnelkilnRecord;
import org.apache.ibatis.annotations.Mapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.jxdinfo.hussar.example.scada.tunnel.messcadatunnelkilnrecord.dto.MesScadaTunnelkilnRecordMesscadatunnelkilnrecorddataset1;
import org.apache.ibatis.annotations.Param;
import java.util.List;
import java.util.Map;

import com.baomidou.mybatisplus.core.toolkit.Constants;

/**
 * 隧道窑记录表Mapper接口
 */
@Mapper
@Repository("scada.tunnel.messcadatunnelkilnrecord.MesScadaTunnelkilnRecordMapper")
public interface MesScadaTunnelkilnRecordMapper extends HussarMapper<MesScadaTunnelkilnRecord> {

    /**
     * 查询隧道窑记录表
     */
    List<MesScadaTunnelkilnRecord> hussarQuerymesScadaTunnelkilnRecordCondition_1mesScadaTunnelkilnRecordSort_1Page(Page<MesScadaTunnelkilnRecord> page, @Param("messcadatunnelkilnrecorddataset1") MesScadaTunnelkilnRecordMesscadatunnelkilnrecorddataset1 messcadatunnelkilnrecorddataset1);

    /**
     * 查询隧道窑记录表
     */
    List<MesScadaTunnelkilnRecord> hussarQuerymesScadaTunnelkilnRecordCondition_1mesScadaTunnelkilnRecordSort_1(@Param("messcadatunnelkilnrecorddataset1") MesScadaTunnelkilnRecordMesscadatunnelkilnrecorddataset1 messcadatunnelkilnrecorddataset1, @Param(Constants.WRAPPER) QueryWrapper<MesScadaTunnelkilnRecord> ew);

    /**
     * 插入隧道窑记录表
     */
    int insertsdy(@Param("map") Map<String, String> map, @Param("tablename") String tablename);

    /**
     * 查询隧道窑记录是否存在
     */
    MesScadaTunnelkilnRecord selectsdy(@Param("shijian") String shijian, @Param("tablename") String tablename);
}
